<div data-dojo-type="my.form.AddClassesForm" id="classesForm" data-dojo-id="classesForm" encType="multipart/form-data" action="addClassesAction" method="POST">
	<table>
		<tr>
			<td><label for="classes.classname">Classes name</label></td>
			<td><input type="text" name="classes.classname" value="" required="true" data-dojo-type="dijit.form.TextBox" data-dojo-props="trim:true" id="classes.classname" data-dojo-attach-point="classes.classname"></td>
		</tr>
		<tr>
			<td><label for="classes.classroom">Classroom:</label></td>
			<td><input type="text" name="classes.classroom" value="" required="true" data-dojo-type="dijit.form.TextBox" data-dojo-props="trim:true" id="classes.classroom" data-dojo-attach-point="classes.classroom"></td>
		</tr>
		<tr>
			<td><label for="classes.description">Description:</label></td>
			<td><input type="text" name="classes.description" value="" required="true" data-dojo-type="dijit.form.TextBox" data-dojo-props="trim:true" id="classes.description" data-dojo-attach-point="classes.description"></td>
		</tr>
		<tr>
			<td><label for="classes.day">Day:</label></td>
    		<td>
				<div data-dojo-type="dojo.data.ItemFileReadStore" data-dojo-id="weekDayStore" data-dojo-props="url:'getWeekDaysAction.action'"></div>      	
				<input data-dojo-attach-point="classes.sDate" data-dojo-type="dijit.form.FilteringSelect" data-dojo-props="store:weekDayStore, autoComplete:true, name:'classes.sDate',searchAttr:'name',required:true"></input>
    		</td>
		</tr>
		<tr>
			<td><label for="classes.time">Time:</label></td>
    		<td>
				<div data-dojo-type="dojo.data.ItemFileReadStore" data-dojo-id="timeStore" data-dojo-props="url:'getTimeAction.action'"></div>      	
				<input data-dojo-attach-point="classes.sHour" data-dojo-type="dijit.form.FilteringSelect" data-dojo-props="store:timeStore, autoComplete:true, name:'classes.sHour',searchAttr:'name',required:true"></input>
    		</td>
		</tr>
	</table>
	
	<br/>
	
	<table width="100%">
		<tr>
			<td align="left"><button data-dojo-type="dijit.form.Button" data-dojo-props="iconClass:'dijitIconSave', showLabel: true" type="submit">Save</button></td>
			<td align="right"><button data-dojo-type="dijit.form.Button" data-dojo-props="iconClass:'dijitIconDelete', showLabel: true" type="button" onClick="dijit.byId('addClassesDialog').hide()">Cancel</button></td>
		<tr>
	</table>

</div>